package com.qi.config;

import lombok.Data;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "image")
public class ImageConfigReader {
    private static String location;

    public void setLocation(String location) {
        ImageConfigReader.location = location;
    }

    public static String getLocation() {
        return ImageConfigReader.location;
    }
}
